The GetAppFiles procedure returns information about files opened at application launch time in an application files record, defined by the AppFile data type:
TYPE AppFile =
RECORD
vRefNum: Integer; {working directory reference number}
fType: OSType; {file type}
versNum: Integer; {version number; ignored}
fName: Str255; {filename}
END;